package com.example.demo.controller;

import com.example.demo.entity.OrderDataReq;
import com.example.demo.service.annot.OrderDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName OrderDataController
 * @Author bsy
 * @Description TODO
 * @Date 2023/2/13 22:20
 * @Version 1.0
 *
 */

@RestController
public class OrderDataController {

    @Autowired
    OrderDataService orderDataService;

    @RequestMapping("/business/orderDataHandle")
    public void orderDataHandle(@RequestBody OrderDataReq orderDataReq) {
        orderDataService.orderDataHandle(orderDataReq);
    }
}
